<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<%@ include file="header.jsp"%>
</head>
<body>

	<form  action="${path}/user?method=add" method="post">
	  <div class="form-group">
	    <label for="exampleInputEmail1">用户名</label>
	    <input type="text" name="username" class="form-control" id="exampleInputEmail1">
	  </div>
	  <div class="form-group">
	    <label for="exampleInputPassword1">密码</label>
	    <input type="text" name="password"  class="form-control" id="exampleInputPassword1">
	  </div>
	  <div class="form-group">
	    <label for="exampleInputEmail1">邮箱</label>
	    <input type="text" name="email" class="form-control" id="exampleInputEmail1">
	  </div>
	  <div class="form-group">
	  	<label for="exampleInputEmail1">角色</label>
	  	<input type="radio" name="role" value="0"/>管理员
		<input type="radio" name="role" value="1"/>普通用户
	  </div>
	  <div class="form-group">
	  	<label for="exampleInputEmail1">部门</label>
	  	<select name="deptId" class="form-control">
	  	  <option>请选择部门</option>
		  <option value="1">it部</option>
		  <option value="2">软件部</option>
		  <option value="3">硬件部</option>
		</select>
	  </div>
	  <button type="submit" class="btn btn-success">添加</button>
	</form>
</body>
</html>